package com.ctshk.rpc.insurance.dto;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@ApiModel(value = "InsuranceSellDTO对象", description = "保险售卖对象")
public class InsuranceSellDTO implements Serializable {

    @ApiModelProperty(value = "保险id")
    private Long id;

    @ApiModelProperty(value = "保险名称")
    private String name;

    @ApiModelProperty(value = "产品特色")
    private String productTrait;

    @ApiModelProperty(value = "保险公司ID")
    private Long companyId;

    @ApiModelProperty(value = "保险公司")
    private String companyName;

    @ApiModelProperty(value = "加幅类型0 加数值	1 加百分比（百分比增幅小数部分需向上取整，如1.56取2.00）")
    private Integer adjustType;

    @ApiModelProperty(value = "金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "百分比")
    private BigDecimal percent;

}
